package com.steed.rocketmq.consumer;

import com.aliyun.openservices.ons.api.*;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

import java.util.Properties;

/**
 * ONS 消费者启动类
 *
 * @author za-zhubin002
 * Created in 16:47 2017/10/27
 */
@SpringBootApplication
public class OnsConsumerApplication {
    public static void main(String[] args) {
        SpringApplication.run(OnsConsumerApplication.class);
    }

    public SpringApplicationBuilder configure(
            SpringApplicationBuilder builder) {
        return builder.sources(OnsConsumerApplication.class);
    }
}
